Skip to content

FEAT Add SimpleSafetyTests dataset loader#1426

Open
romanlutz wants to merge 5 commits intoAzure:mainfrom
romanlutz:romanlutz/add-simple-safety-tests-dataset
Open

FEAT Add SimpleSafetyTests dataset loader#1426
romanlutz wants to merge 5 commits intoAzure:mainfrom
romanlutz:romanlutz/add-simple-safety-tests-dataset

Conversation

@romanlutz
Copy link
Contributor

Add remote dataset loader for SimpleSafetyTests (Bertievidgen/SimpleSafetyTests), a lightweight diagnostic set of 100 critical safety test prompts for quickly evaluating the most basic safety properties of LLMs.

Copilot AI review requested due to automatic review settings March 1, 2026 14:35
@romanlutz romanlutz force-pushed the romanlutz/add-simple-safety-tests-dataset branch from 7a32aee to 0b9827a Compare March 1, 2026 14:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new remote seed dataset loader for HuggingFace dataset Bertievidgen/SimpleSafetyTests so it can be discovered and fetched via PyRIT’s SeedDatasetProvider mechanism.

Changes:

  • Introduces _SimpleSafetyTestsDataset remote loader that fetches prompts from HuggingFace and converts them into SeedPrompts.
  • Adds unit tests covering the new loader’s fetch_dataset behavior and dataset_name.
  • Updates dataset-loading documentation notebook output to include simple_safety_tests in the available dataset list.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
pyrit/datasets/seed_datasets/remote/simple_safety_tests_dataset.py New HuggingFace-backed dataset loader for SimpleSafetyTests.
pyrit/datasets/seed_datasets/remote/__init__.py Exposes the new loader so it registers/discovers with other remote providers.
tests/unit/datasets/test_simple_safety_tests_dataset.py Adds unit tests for the new loader.
doc/code/datasets/1_loading_datasets.ipynb Updates the “Loading Built-in Datasets” notebook to reflect the new dataset name, but also includes newly-executed metadata/outputs.

@romanlutz romanlutz force-pushed the romanlutz/add-simple-safety-tests-dataset branch from 0b9827a to 1efaa09 Compare March 1, 2026 14:53
Add remote dataset loader for SimpleSafetyTests (Bertievidgen/SimpleSafetyTests),
a lightweight diagnostic set of 100 critical safety test prompts for quickly
evaluating the most basic safety properties of LLMs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 2, 2026 13:10
@romanlutz romanlutz force-pushed the romanlutz/add-simple-safety-tests-dataset branch from 1efaa09 to 9ec9d88 Compare March 2, 2026 13:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

romanlutz and others added 2 commits March 2, 2026 05:45
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 2, 2026 13:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

romanlutz and others added 2 commits March 2, 2026 06:13
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 2, 2026 15:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants